package com.carleasoft.mps.adu.business.user.service;

import com.carleasoft.mps.adu.business.user.bean.entity.AuthorityUserEntity;
import com.carleasoft.mps.adu.business.user.bean.po.AuthorityAdminPo;
import com.carleasoft.mps.adu.business.user.bean.vo.DeptUserTreeVo;

import java.util.List;

public interface AuthorityUserAdminService {

    /**
     * 添加组织管理员
     * @return
     */
    AuthorityUserEntity addOrgAdmin(AuthorityAdminPo authorityAdminPo);

    /**
     * 添加二级管理员
     * @param
     * @return
     */
    AuthorityUserEntity addSystemAdmin(AuthorityAdminPo authorityAdminPo);

    /**
     * 系统管理员查询
     * @param authorityAdminPo
     * @return
     */
    List<AuthorityUserEntity> administratorsList(AuthorityAdminPo authorityAdminPo);


    List<DeptUserTreeVo> getDeptUserTree();
}
